* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.icon-selected {
  color: #515151;
}
.cart {
  width: 100vw;
  height: 100vh;
  background: #efeff4;
  .cartTitle {
    height: 70px;
    h2 {
      background: #ff0036;
      text-align: center;
      color: #fff;
      font-size: 18px;
      font-weight: 500;
      line-height: 70px;
    }
  }
  .cartBg {
    width: 100%;
    height: calc(100vh - 170px);
    overflow-y: scroll;
    background: url("../../../img/cart/cartbg.png") no-repeat center;
    background-size: 100% 100%;
  }
  .cartList {
    width: 100%;
    height: calc(100vh - 170px);
    overflow-y: scroll;
    .cartItem {
      background: #fff;
      margin-bottom: 20px;
      .partAllSelect {
        display: flex;
        margin-left: 20px;
        align-items: center;
        line-height: 40px;
        border-bottom: 2px solid #e5e5e5;
        i {
          margin-right: 10px;
        }

        .shopName {
          color: #5f5e5b;
        }
      }
      .productItem {
        display: flex;
        align-items: center;
        padding: 10px 20px 10px 0;
        i {
          flex: 1;
          text-align: center;
        }
        .productBox {
          flex: 8;
          display: flex;
          padding-bottom: 10px;
          border-bottom: 2px solid #e5e5e5;
          .productImg {
            flex: 2;
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f4f4f4;
            margin-right: 10px;
            img {
              width: 60px;
              height: 60px;
            }
          }

          .productMsg {
            flex: 4;
            .productName {
              margin: 10px 0;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
              color: #666666;
              line-height: 20px;
              font-size: 14px;
            }

            .productPrice {
              line-height: 40px;
              color: #333333;
              font-size: 16px;
            }

            .productCountAction {
              margin-top: 5px;
              float: right;
              display: flex;
              .add,
              .count,
              .sub {
                width: 20px;
                outline: none;
                text-align: center;
                display: inline-block;
                font-size: 18px;
                background: #fff;
                border: 1px solid #ddd;
              }
            }

            .delete {
              width: 40px;
              height: 30px;
              float: right;
              margin-top: 5px;
              margin-left: 15px;
              text-align: center;
              border: 1px solid #ddd;
            }
          }
        }
      }
    }
  }
  .func {
    display: flex;
    padding-left: 20px;
    background: #f5f5f8;
    line-height: 50px;
    height: 50px;
    .allSeleck {
      flex: 1;
      font-size: 14px;
      display: inline-block;
      i {
      }
      span {
        padding-left: 10px;
      }
    }

    .total {
      flex: 2;
      font-size: 18px;
      text-align: right;
      color: #ff0036;
      padding-right: 10px;
    }
    .pay {
      width: 100px;
      height: 100%;
      color: #fff;
      font-size: 16px;
      text-align: center;
      background: #ff0036;
      float: right;
    }
    .unpay {
      width: 100px;
      height: 100%;
      color: #fff;
      text-align: center;
      background: #ccc;
      float: right;
    }
  }
}
